<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>风控报告</title>
    <style>
      * {
        margin: 0;
        padding: 0;
      }
      table {
        border-collapse: collapse; /*合并边框*/
        width: 100%; /*设置宽度*/
      }
      th,
      td {
        border: 1px solid #ddd; /*设置边框*/
        padding: 8px; /*设置单元格内边距*/
        text-align: left; /*设置文本对齐方式*/
      }
      th {
        background-color: #f2f2f2; /*设置表头背景颜色*/
      }
      h2{
        margin-bottom: 20px;
      }
      h3{
        margin-bottom: 5px;
        margin-top: 20px;
      }
      body{
        padding: 20px; max-width: 800px; margin: 0 auto
      }
      tr th:nth-child(2),tr td:nth-child(2){
        width: 30%;
      }
    </style>
  </head>
  <body>
    <h2 >${orderNo};${username};${mobile}</h2>

    <h3>申请雷达报告</h3>
    <#if applyReportDetailList??>
      <table>
        <thead>
        <tr>
          <th>风控项</th>
          <th>风控值</th>
        </tr>
        </thead>
        <tbody>

        <#list applyReportDetailList as item>
          <tr>
            <td>${item.name}</td>
            <td>${item.value}</td>
          </tr>
        </#list>

        </tbody>
      </table>
    <#else>
      <span>申请雷达报告为空</span>
    </#if>



    <h3>行为雷达报告</h3>
    <#if behaviorReportDetailList??>
    <table>
        <thead>
          <tr>
            <th>风控项</th>
            <th>风控值</th>
          </tr>
        </thead>
        <tbody>
        <#list behaviorReportDetailList as item>
          <tr>
            <td>${item.name}</td>
            <td>${item.value}</td>
          </tr>
        </#list>
        </tbody>
      </table>
    <#else>
      <span>行为雷达报告为空</span>
    </#if>

    <h3>信用现状报告</h3>
    <#if currentReportDetailList??>
      <table>
        <thead>
          <tr>
            <th>风控项</th>
            <th>风控值</th>
          </tr>
        </thead>
        <tbody>
        <#list currentReportDetailList as item>
          <tr>
            <td>${item.name}</td>
            <td>${item.value}</td>
          </tr>
        </#list>
        </tbody>
      </table>
    <#else>
      <span>信用现状报告为空</span>
    </#if>

  </body>
</html>
